package com.haikesi.api.user.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@ApiModel(description = "返回参数")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserLoginResVO implements Serializable {
    private static final long serialVersionUID = -1L;

    @ApiModelProperty(value = "获取token的凭证")
    private String ticket;

    @ApiModelProperty(value = "ticket过期时间,单位毫秒")
    private Long expire;

    @ApiModelProperty(value = "用户id")
    private String id;

    @ApiModelProperty(value = "登录名")
    private String loginName;

    @ApiModelProperty(value = "姓名")
    private String userName;

    @ApiModelProperty(value = "手机")
    private String userMobile;

    @ApiModelProperty(value = "邮箱")
    private Integer userEmail;

}
